package com.lee.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author lee HN
 * @date 2021/4/12 14:22
 */
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class BaseUserThird {

    //第三方平台 例如 QQ weChat weibo等
    @TableId
    public int provider;
    //provider和openId应为联合主键
    public String openId;
    //用户id
    public long userId;

    public long createTime;

}
